package sliver.action.shop.ajax;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;


@Scope("prototype")
@Controller("shop.ajax.TaoBaoFavAction")
public class TaoBaoFavAction extends ActionSupport{
	private String username;
	private String password;
	private String url;
	
	@Override
	public String execute() throws Exception {
		System.out.println(username);
		System.out.println(url);
		TaoBaoFav.add(username, password, url);
		return null;
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
